import React from "react";

class HelloWorld extends React.Component{
    constructor() {
        super()
        this.state = {
            message:"HelloWorld"
        }
    }
    render(){
        const {message} = this.state
        return(
            <div>
                <h2>{message}</h2>
            </div>
        )
    }
}

export default HelloWorld